﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ADONETDataServicesExtension.Utils;

namespace ADONETDataServicesExtension
{
    public static class HttpProcessUtility
    {
        internal const string FrameworkTypeName = "System.Data.Services.HttpProcessUtility";

        public static string BuildContentType(string mime, Encoding encoding)
        {
            return ReflectionHelper.InvokeStaticMethod<string>(FrameworkTypeName, "BuildContentType", mime, encoding);
        }
    }
}
